-
Notifications
You must be signed in to change notification settings - Fork 403
fix compile error #895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
fix compile error #895
Conversation
To reproduce this compile error, clone this repo and run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your change breaks the CI
Sorry about that. I only tested locally. I will try to fix it. |
@MatthijsBurgh fixed |
@Yancey2023 Also make sure you update the lock file |
Thanks for your review. I have update the lock file. |
Ah, did we never add the typescript compiler to CI here? I thought we had. We should probably add that to prevent dependabot version bumps from breaking the build. |
Actually, I see that the Vite build is running in CI here. Line 28 in 2af39fa
In what situation are you encountering this build issue? I am not seeing an issue in CI or on my local machine. |
The issue arises because the dependency versions in |
Initially, I wasn't know the reason. Therefore, the PR initially only fixed the compilation errors without updating the dependency versions. Since the CI's npm uses caching, it didn’t use the newest dependency versions, causing the CI to initially fail. |
I think others have also encountered this issue: #838 (comment) |
There is also a PR that attempts to fix this issue, but it does so in an wrong way: #870 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure whether we need all dependency bumps. Only bump dependencies of which the older version is not working anymore
I'm not sure it is a good idea because |
Hello. I can't understand why we're not using the newest version. Can you show me more details? |
Dependencies tell what you need, the lock file tells what you use. |
Sorry for the late reply and my misunderstanding. Everything is done now and I hope you can feel free to review it. |
@Yancey2023 Please resolve the conflicts |
The conflicts is resolved so you can review now. By the way, I just notice that roslibjs was migrated to typescript and I think it's wonderful. I really love it. |
Public API Changes
The
xml
parameter inUrdfModelOptions
changed from typeElement | undefined
toElement | null
Description
fix a compile error in new version of xmldom: